package com.best4cloud.auth.service.feign.fallback;

import com.best4cloud.auth.security.User;
import com.best4cloud.auth.service.feign.UserFeignClient;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class UserFeignClientFallback implements UserFeignClient {

    @Override
    public User loadUserByUsername(String username) {
        log.error("调用用户中心获取用户信息失败：{}", username);
        return null;
    }
}
